package com.lxp.modules.gyy.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @TableName hr_department
 */
@TableName(value = "hr_department")
@Data
@ApiModel(value = "HrDepartment", description = "部门表")
public class HrDepartment implements Serializable {
    @ApiModelProperty(value = "部门id", name = "id")
    @TableId
    private Integer id;
    @ApiModelProperty(value = "部门名称", name = "name")
    private String name;

    @ApiModelProperty(value = "公司Id", name = "company_id")
    private Integer companyId;

    private Boolean active;

    private static final long serialVersionUID = 1L;
}